package com.blog.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data//生成getter,setter ,toString等函数
@NoArgsConstructor//生成无参构造函数
@AllArgsConstructor//生成全参数构造函数
public class User implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;
    //主键
    private int id;
    private String account;
    private String password;
    //用户名
    private String userName;

}
